Leat\Domain\Syncing\SyncVouchers A

Total Complexity 55
Dependencies 8
Dependents 4
Total lines 521
Lines of code 303
Logical lines of code 156
Comment lines 82
Methods 12
Properties 5

Methods 12

Method Rating Maintainability Complexity Lines of code
upsert_coupon_for_promotion_rule()
B
34 19 89
queue_vouchers_for_promotion()
S
44 4 50
handle_voucher_created_webhook()
S
52 5 26
handle_voucher_redeemed_webhook()
S
51 5 26
format_voucher_webhook()
S
58 5 15
start_sync()
S
55 4 19
handle_voucher_updated_webhook()
S
55 4 19
task()
S
51 3 28
handle_voucher_deleted_webhook()
S
61 2 12
sync_vouchers_to_woocommerce()
S
70 2 6
__construct()
S
71 1 6
init()
S
67 1 7